package es.ats.codington.festival.interfaces.services;

import java.sql.Connection;

/**
 * The Interface IServiceManager.
 *
 * @author 5Cs
 */
public interface IServiceManager {
	
	/**
	 * Open connection to db.
	 *
	 * @return the connection
	 * @throws Exception the exception
	 */
	public Connection OpenConnectionToDB () throws Exception;
	
	/**
	 * Close connection to db.
	 *
	 * @param con the con
	 * @throws Exception the exception
	 */
	public void CloseConnectionToDB (Connection con) throws Exception;
}
